#include "Common.h"
#include "connector/Connector.h"
#include "Organ.h"
#include "Assembler.h"

Organ::Organ(Assembler* pAssm,OrganType  organType):
m_organType(organType),
m_pAssm(pAssm),
m_bInited(false)
{
	CR_ASSERT(pAssm);
}


ErrorCode Organ::Init()
{
	return eOK;
}

Organ::~Organ()
{

}

void Organ::OnReady(uint32 ready)
{
	if( ready == 0 )
	{
		m_bInited =true;
	}else{
		m_bInited = false;
	}
}
